<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";  
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
	<title>供应商入驻</title>
	<link type="image/x-icon" rel="shortcut icon" href="<%=path %>/img/we-title.ico">
	<script type="text/javascript">
		var ctx="<%=path%>";
	</script>
	<link rel="stylesheet" href="<%=path%>/css/register.css" type="text/css" />
</head>
<body>
	<div class="header">
		<%@ include file="header.jsp"%>
	</div>
	<div class="main">
			<div class="content_register">
				<div class="register_box">
					<h2 class="title">商家入驻</h2>
						<p class="warn"></p>
						<form id="registerForm" action="<%=path%>/regist/do" method="post" enctype="multipart/form-data" >
							<span id="msg" style="color:red"> </span>
							<div class="col clearfix"> 
								<div style="margin:10px">
									<input name="companyAreaType" value=1 checked="checked" type="radio" id="guonei"  /><label for="guonei" >国内公司</label>
									<input name="companyAreaType" value=2 type="radio" id="guowai" /><label for="guowai" >香港公司</label>
								</div>
							</div>
							<div class="col clearfix">
								<label class="control-label labelPart labelPhone">供应商名称</label>
								<div class="colPart" >
									<input name="supplierName" type="text" placeholder="请输入供应商名称">
								</div>
							</div>
							<div class="col clearfix">
								<label class="control-label labelPart labelPhone">地址</label>
								<div class="colPart" >
									<input name="address" type="text" placeholder="请输入详细地址">
								</div>
							</div> 
							<div class="col clearfix">
								<label class="control-label labelPart labelPhone">联系人</label>
								<div class="colPart" >
									<input id="mobile" name="contactName" type="text" placeholder="请输入联系人姓名">
								</div>
							</div>
							<div class="col clearfix">
								<label class="control-label labelPart labelPhone">手机号</label>
								<div class="colPart" >
									<input id="mobile" name="contactPhone" type="text" placeholder="请输入手机号">
								</div>
							</div>
							  
							  <div class="col-file">
								<label class="control-label labelPart labelPhone">法人身份证正面照</label> 
								<input id="id_card_front_img" class="img-up" type="file" data-inputname="idCardFrontImg" />
								<input type="hidden" name="idCardFrontImg" />
								<!-- <div>
								 <img src=""  id="id_card_front_img_show"  />
								</div> -->
							</div> 
							
							<div class="col-file">
								<label class="control-label labelPart labelPhone">法人身份证反面照</label> 
								<input id="id_card_back_img" type="file" class="img-up"  data-inputname="idCardBackImg" >
								<input type="hidden" name="idCardBackImg" />
								<!-- <div>
								 <img src=""  id="id_card_back_img_show"  />
								</div> -->
							</div> 
							
							 <div class="col-file xiangangCom" >
								<label class="control-label labelPart labelPhone">商业登记证照</label>  
								<input id="business_registration_img" type="file"  class="img-up" data-inputname="businessRegistrationImg" >
								<input type="hidden" name="businessRegistrationImg" />
								<!-- <div>
								 <img src=""  id="business_registration_img_show"  />
								</div> -->
							</div> 
							
							<div class="col-file xiangangCom">
								<label class="control-label labelPart labelPhone">注册证明照</label>  
								<input id="registration_certificate_img" type="file"  class="img-up" data-inputname="registrationCertificateImg" >
								<input type="hidden" name="registrationCertificateImg" />
								<!-- <div>
								 <img src=""  id="registration_certificate_img_show"  />
								</div> -->
							</div> 
							
							<div class="col-file guoneiCom">
								<label class="control-label labelPart labelPhone">营业执照</label> 
								<input id="business_license_img" type="file"  class="img-up" data-inputname="businessLicenseImg" >
								<input type="hidden" name="businessLicenseImg" />
								<!-- <div>
								 <img src=""  id="business_license_img_show"  />
								</div> -->
							</div> 
							
							<div class="col clearfix "> <!-- registerBtn -->
								<input type="button" value="提交" class="registerNow"/>
							</div>
							<div class="goTologin">
									<a href="login.html">已入驻，直接登录</a>
							</div>
						</form>
				</div>
			</div>
		</div>
	<div class="footer">
		<%@ include file="bottom.jsp"%>
	</div>
	<script type="text/javascript" src="<%=path%>/js/libs/require.js"  ></script>
	<script type="text/javascript" src="<%=path%>/js/main.js" ></script>
	<script type="text/javascript" src="<%=path%>/js/common/jquery.md5.js" ></script>
	<script type="text/javascript" src="<%=path%>/js/views/register.js"></script>
</body>
<div class="mask_layer dsn"></div>
<div class="registeragreement dsn">
	<div class="registeragreement_window">
	   	<h1><span>供应商入驻协议</span><span class="close">×</span></h1>
	   	<div class="content">
	   		<h2>入驻须知</h2>	
	   		<p><b>尊敬的供应商：</b></p>
	    	<p>欢迎您的入驻，为了使您获得愉悦和安全的服务体验，在此列明以下服务条款，详述了您使用本网站的服务所须遵守的条款和条件，请您仔细阅读。</p>
	    	<p>服务条款：</p>
	    	<p><b>一、特别申明 </b></p>
	    	 		
		</div>
   	</div>
</div><!-- 注册说明 -->
</html>